package com.bilibili.java.bookpage.bean;
/**
 * 购物车类
 * @author Administrator
 *
 */
public class Indent {
	@Override
	public String toString() {
		return "Indent [id=" + id + ", userId=" + userId + ", bookId=" + bookId + ", bookNumber=" + bookNumber + "]";
	}
	private int id;//编号
	private int userId;//账户编号
	private int bookId;//书籍编号
	private int bookNumber;//书籍数量
	public Indent(int userId, int bookId, int bookNumber) {
		super();
		this.userId = userId;
		this.bookId = bookId;
		this.bookNumber = bookNumber;
	}
	public Indent() {
		super();
		// TODO Auto-generated constructor stub
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public int getBookNumber() {
		return bookNumber;
	}
	public void setBookNumber(int bookNumber) {
		this.bookNumber = bookNumber;
	}
	
	
	
}
